/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.base.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.base.entity.BaWarehouse;
import com.thinkgem.jeesite.modules.base.dao.BaWarehouseDao;

/**
 * 仓库生成Service
 * @author alex
 * @version 2017-04-25
 */
@Service
@Transactional(readOnly = true)
public class BaWarehouseService extends CrudService<BaWarehouseDao, BaWarehouse> {

	public BaWarehouse get(String id) {
		return super.get(id);
	}
	
	public List<BaWarehouse> findList(BaWarehouse baWarehouse) {
		return super.findList(baWarehouse);
	}
	
	public Page<BaWarehouse> findPage(Page<BaWarehouse> page, BaWarehouse baWarehouse) {
		return super.findPage(page, baWarehouse);
	}
	
	@Transactional(readOnly = false)
	public void save(BaWarehouse baWarehouse) {
		super.save(baWarehouse);
	}
	
	@Transactional(readOnly = false)
	public void delete(BaWarehouse baWarehouse) {
		super.delete(baWarehouse);
	}
	
}